//
//  NRWBuyCarFilterModel.h
//  NRWMall
//
//  Created by 邢毅 on 2018/6/7.
//  Copyright © 2018年 com.anpxd. All rights reserved.
//

#import "NRWBaseModel.h"

@class NRWBuyCarSortModel, NRWBuyCarBrandModel, NRWBuyCarPriceModel, NRWBuyCarCityModel, NRWBuyCarFilterModel;

@interface NRWBuyCarConditionModel : NRWBaseModel

@property (assign, nonatomic) BOOL isCarAuthState;

/// 排序model
@property (strong, nonatomic) NRWBuyCarSortModel *sortModel;

/// 品牌model
@property (strong, nonatomic) NRWBuyCarBrandModel *brandModel;

/// 价格model
@property (strong, nonatomic) NRWBuyCarPriceModel *priceModel;

/// 城市model
@property (strong, nonatomic) NRWBuyCarCityModel *cityModel;

/// 筛选model
@property (strong, nonatomic) NRWBuyCarFilterModel *filterModel;

/// 变速箱
@property (copy, nonatomic) NSString *gearbox;

@end

@interface NRWBuyCarSortModel: NRWBaseModel

@property (copy, nonatomic) NSString *sortId;

@property (copy, nonatomic) NSString *sortName;

@property (assign, nonatomic) BOOL isSelect;

@property (copy, nonatomic, readonly) NSString *orderMode;

@property (copy, nonatomic, readonly) NSString *orderColunm;

@end

@interface NRWBuyCarBrandModel : NRWBaseModel <NSCopying>

@property (copy, nonatomic) NSString *brandId; /**< 品牌ID */

@property (copy, nonatomic) NSString *brandName; /**< 品牌名称 */

@property (copy, nonatomic) NSString *brandLogo;

@property (copy, nonatomic) NSString *seriesId; /**< 车系ID */

@property (copy, nonatomic) NSString *seriesName; /**< 车系名称 */

@end

@interface NRWBuyCarPriceModel : NRWBaseModel

@property (copy, nonatomic) NSString *priceFrom;

@property (copy, nonatomic) NSString *priceTo;

@property (copy, nonatomic) NSString *priceTitle;

@property (assign, nonatomic) BOOL isSelect;

@property (assign, nonatomic) NSInteger currentSelectIndex;

@property (assign, nonatomic) NSInteger selectedFirstIndex;

@property (assign, nonatomic) NSInteger selectedLastIndex;

/// 是否为滑动条选择的价格区间
@property (assign, nonatomic) BOOL isCustomePrice;

@end

@interface NRWBuyCarCityModel : NRWBaseModel

@property (copy, nonatomic) NSString *provinceName;

@property (copy, nonatomic) NSString *provinceId;

@property (copy, nonatomic) NSString *cityName;

@property (copy, nonatomic) NSString *cityId;

@property (assign, nonatomic) NSInteger provinceIndex;

@property (assign, nonatomic) NSInteger cityIndex;

@end

@interface NRWBuyCarFilterModel : NRWBaseModel <NSCopying>

@property (assign, nonatomic) NSInteger mileageFirstIndex;

@property (assign, nonatomic) NSInteger mileageLastIndex;

@property (copy, nonatomic) NSString *mileageFrom;

@property (copy, nonatomic) NSString *mileageTo;

@property (copy, nonatomic) NSString *mileageTitle;

@property (assign, nonatomic) NSInteger carAgeFirstIndex;

@property (assign, nonatomic) NSInteger carAgeLastIndex;

@property (copy, nonatomic) NSString *carAgeFrom;

@property (copy, nonatomic) NSString *carAgeTo;

@property (copy, nonatomic) NSString *carAgeTitle;

@property (copy, nonatomic) NSString *carOutColorName;

@property (copy, nonatomic) NSString *carOutColorCode;

@property (copy, nonatomic) NSString *carTypeName;

@property (copy, nonatomic) NSString *carTypeId;

@property (copy, nonatomic) NSString *carEnvironName;

@end

